﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace WMSSoft.WinKStart
{
    /// <summary>
    /// 
    /// </summary>
    public partial class Settings_SelectRegion : Window
    {
        //public static DependencyProperty SelectedRegionProperty = DependencyProperty.Register("SelectedRegion", typeof(string), typeof(Settings_SelectRegion));
        //public static DependencyProperty AvailableRegionsProperty = DependencyProperty.Register("AvailableRegions",
        //                                                                          typeof(List<WMSSoft.Lib.WinKStart.Classes.MenuConfig.cRegion>), 
        //                                                                          typeof(Settings_SelectRegion));

        //public string SelectedRegion
        //{
        //    get { return (string)GetValue(SelectedRegionProperty); }
        //    set { SetValue(SelectedRegionProperty, value); }
        //}

        //public List<WMSSoft.Lib.WinKStart.Classes.MenuConfig.cRegion> AvailableRegions
        //{
        //    get { return (List<WMSSoft.Lib.WinKStart.Classes.MenuConfig.cRegion>)GetValue(AvailableRegionsProperty); }
        //    set { SetValue(AvailableRegionsProperty, value); }
        //}

        public Settings_SelectRegion()
        {
            InitializeComponent();            
        }

        //private void SaveDlg(object sender, ExecutedRoutedEventArgs e)
        //{
        //    DialogResult = true;
        //    Close();
        //}

        //private void CloseDlg(object sender, ExecutedRoutedEventArgs e)
        //{
        //    DialogResult = false;
        //    Close();
        //}
    }
}
